import {element, method} from './element-ui.js'
import Vue from 'vue'

const init = () => {
  for (let key in element){
    Vue.use(element[key])
  }

  for (let key in method){
    Vue.prototype[`$${key.toLowerCase()}`] = method[key]
  }
}
export default {
  init
}